<?php

namespace app\admin\library;
use app\admin\model\Brand as brandModel;
use app\admin\model\User;
use app\admin\model\CouponCodeCities;

class Brand extends \fast\Auth
{

    /**
     * 获取父级商户
     * @return string
     */
    public static function brandFa($father)
    {
        //var_dump($father);
        $date=User::where('id',$father)->find();
        return $date;
    }

    /**
     * 获取父级城市
     * @return string
     */
    public static function cityFa($father)
    {
        //var_dump($father);
        $date=CouponCodeCities::where('id',$father)->find();
        return $date;
    }
}
